// src/main/java/com/yin/waimai/enums/LogisticsStatus.java
package com.yin.waimai.enums;

/**
 * 物流轨迹状态枚举
 */
public enum LogisticsStatus {
    PENDING_COLLECTION("待揽收"),
    COLLECTED("已揽收"),
    UNKNOWN("未知状态"),
    TRANSPORTING("运输中"),
    WAREHOUSED("已入库"), // Example: Arrived at sorting center
    OUT_FOR_DELIVERY("派送中"),
    DELIVERY_FAILED("派送失败"),
    SIGNED("已签收"),
    CANCELLED("已取消"); // Or if the shipment is cancelled

    private final String description;

    LogisticsStatus(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }
}